Parsely\Models\Inbound_Smart_Link D

Total Complexity 140
Dependencies 15
Dependents 5
Total lines 1,327
Lines of code 712
Logical lines of code 400
Comment lines 384
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
get_paragraph()
B
32 21 102
apply()
B
30 19 123
remove()
B
37 16 73
get_post_data()
A
38 11 72
has_valid_placement()
A
51 9 26
validate_link_placement()
A
49 8 32
find_text_node()
S
56 7 19
delete_pending_suggestions()
S
45 5 45
to_array()
S
53 5 24
get_suggestions_count()
S
50 3 30
is_linked()
S
60 4 14
find_original_line()
S
62 4 12
update_link_text()
S
55 3 21
is_the_same_line()
S
59 3 14
get_smart_link_by_source_and_destination()
S
52 2 27
find_smart_link_anchor()
S
63 3 10
find_line_with_text()
S
65 3 9
from_smart_link()
S
62 2 11
get_smart_link_by_id()
S
68 2 7
set_source_from_url()
S
67 2 8
did_replace_link()
S
70 2 6
is_ignorable_update_error()
S
71 2 6
get_inbound_smart_links()
S
66 1 9
get_existing_suggestions()
S
75 1 4
flush_cache_by_post_id()
S
72 1 5
get_suggestions_count_cache_key()
S
79 1 3